package com.woniu.bh.backstage.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @version: V1.0
 * @author: Xbao
 * @className: ModifyPwdParam
 * @packageName: com.woniu.bh.backstage.param
 * @description:
 * @data: 2020-10-16 11:52
 */
@Data
@ApiModel(value="管理员修改密码对象",description="管理员修改密码")
public class ModifyPwdParam {
    @NotBlank
    @NotNull
    @ApiModelProperty(value = "管理员电话",name = "phone",required = true)
    private String phone;
    @NotBlank
    @NotNull
    @ApiModelProperty(value = "管理员新密码",name = "newPassword", required = true)
    private String newPassword;
    @NotBlank
    @NotNull
    @ApiModelProperty(value = "管理员重复密码",name = "repeatPassword", required = true)
    private String repeatPassword;
}
